package com.yuxue.petlog.payment;

//使用 现金 购买了***，现结**块
public class Cash implements Payment {
    @Override
    public String getMethodName() {
        return "现金";
    }

    @Override
    public String getActionVerb() {
        return "购买了";
    }

    @Override
    public String getCostDescription(int amount) {
        return "现结" + amount + "块";
    }
//预警
    @Override
    public boolean isWarning(int amount) {
        return false;
    }
//预警信息
    @Override
    public String getWarningMessage() {
        return "";
    }
}